using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Logic;
using System.Collections.Generic;

namespace IQIGame.Onigao.GamePlay
{
    /// <summary>
    /// 局外系统专用玩家PropFetcher
    /// 例如各种UI条件判断使用
    /// </summary>
    public class GamePlayerCondFetcher : Singleton<GamePlayerCondFetcher>, IConditionPropFetcher
    {
        public int FetchConditionProp(ConditionBlackboard blackboard, int iType, IReadOnlyList<int> curValueParams)
        {
            ConditionCurPlayerPropType type = (ConditionCurPlayerPropType)iType;
            var playerData = GameDataCenter.PlayerData;
            switch (type)
            {
                //case ConditionCurPlayerPropType.IsEntityFollowHero:
                //    return 0;
                //case ConditionCurPlayerPropType.HaveBuff:
                //    return 0;
                default:
                    LogicLog.LogError($"关卡视图层不支持的条件类型：2 - {iType}");
                    return 0;
            }
        }
    }
}
